page-all-course {
  ul{
    list-style: none;
    padding: 0;
    li{
      display: flex;
      flex-direction: row;
      margin: 0 10px 10px 10px;
      color: #fff;
      &.bg-1{
        background: #e04c73;
      }
      &.bg-2{
        background: #6bb82d;
      }
      &.bg-3{
        background: #4f59df;
      }
      &>div{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 10px;
        &.course-info{
          flex: 3;
          p:first-of-type{
            font-size: 18px;
            margin-bottom: 5px;
          }
          p:last-of-type{
            font-size: 14px;
            margin-top: 5px;
          }
        }
        &.course-code{
          flex: 2;
          display: flex;
          flex-direction: row;
          align-items: center;
          span{
            font-size: 18px;
          }
          ion-icon{
            font-size: 32px;
            margin-left: 10px;
          }
        }
        p{
          margin: 0;
        }
      }
    }
  }
}
